home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / netz / netinput / source / netinput.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-14  |  968 b   |  51 lines

  1. #ifndef _NETINPUT_H
  2. #define _NETINPUT_H
  3.  
  4. /*
  5. ** $VER: netinput.h 1.1 (14 Jul 1995)
  6. **
  7. ** Definitions for AMIGA netinput
  8. **
  9. ** (C) Copyright 1995 Marius Gröger
  10. **     All Rights Reserved
  11. **
  12. ** $HISTORY:
  13. **
  14. ** 14 Jul 1995 : 001.001 :  changed name
  15. ** 05 Mar 1995 : 001.000 :  created
  16. **
  17. */
  18.  
  19. /*****************************************************************************/
  20.  
  21.  
  22. #ifndef EXEC_TYPES_H
  23. #include <exec/types.h>
  24. #endif
  25.  
  26.  
  27. /*****************************************************************************/
  28.  
  29.  
  30. #define FO_SERVERNAME "amiganetinput"
  31. #define FO_PROTOCOL "udp"
  32.  
  33.  
  34. /*****************************************************************************/
  35.  
  36.  
  37. struct foPacket
  38. {
  39.    ULONG Type;          /* see below */
  40.    ULONG Flags;         /* see below */
  41. };
  42.  
  43.    /* packet types */
  44. #define FOPT_Event     1      /* forward an event (struct InputEvent follows) */
  45. #define FOPT_Finish    1000   /* release connection */
  46.  
  47.    /* there are no flag bits defined yet */
  48.  
  49.  
  50. #endif
  51.